package com.example.demo.aop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 许路路
 */
@Controller
public class HomeController {

    @ResponseBody
    @RequestMapping("index")
    public String index() {
        return "hello world";
    }

}
